//
//  SongListModel.m
//  艾听歌
//
//  Created by dllo on 16/5/31.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "SongListModel.h"
#import "MVlistModel.h"
#import "UrlListModel.h"
#import "AuditionListModel.h"

@implementation SongListModel

- (void)setMvList:(NSMutableArray *)mvList
{
    _mvList = mvList;
    NSMutableArray *array = [NSMutableArray array];
    for (NSDictionary *dic in mvList) {
        MVlistModel *model = [[MVlistModel alloc] init];
        [model setValuesForKeysWithDictionary:dic];
        [array addObject:model];
    }
    _mvList = [NSMutableArray arrayWithArray:array];
}

-(void)setAuditionList:(NSMutableArray *)auditionList
{
    _auditionList = auditionList;
    NSMutableArray *audiArray = [NSMutableArray array];
    for (NSDictionary *audiDic in auditionList) {
        AuditionListModel *audiModel = [[AuditionListModel alloc] init];
        [audiModel setValuesForKeysWithDictionary:audiDic];
        [audiArray addObject:audiModel];
    }
    _auditionList = [NSMutableArray arrayWithArray:audiArray];
}
- (void)setUrlList:(NSMutableArray *)urlList
{
    _urlList = urlList;
   // NSLog(@"===========%@",_urlList);
    NSMutableArray *urlArray = [NSMutableArray array];
    for (NSDictionary *urldic in urlList) {

        UrlListModel *urlModel = [[UrlListModel alloc] init];
       [urlModel setValuesForKeysWithDictionary:urldic];
        [urlArray addObject:urlModel];
    }
    _urlList = [NSMutableArray arrayWithArray:urlArray];
}




@end
